import { compileToFunction } from "./compiler";
import { initGlobalApi } from "./globalApi";
import { initMixin } from "./init";
import { instLifeCycle } from "./lifecycle";
import { initStateMixin } from "./state";
import { createElm, patch } from "./vdom/patch";

function Vue(options) {
  this._init(options);
}
// 为Vue扩展原型属性
initMixin(Vue);
instLifeCycle(Vue);
initGlobalApi(Vue);
initStateMixin(Vue);

export default Vue;